import 'package:shopping_group/modle/play/entity/pay_case_entity.dart';

class DvEntity {
  String result;
  String remark;
  PayCaseEntity payCase;
  DvEntity({this.result, this.remark, this.payCase});

  DvEntity.fromJson(Map<String, dynamic> json) {
    result = json['result'];
    remark = json['remark'];
    payCase = json['payCase'] != null
        ? new PayCaseEntity.fromJson(json['payCase'])
        : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['result'] = this.result;
    data['remark'] = this.remark;
    if (this.payCase != null) {
      data['payCase'] = this.payCase.toJson();
    }
    return data;
  }
}
